package com.zz.ai.func;

import java.util.function.Function;

public class PayLimitService implements Function<OaService.Request, PayLimitService.Response> {
    @Override
    public PayLimitService.Response apply(OaService.Request request) {
        System.out.printf("%s OaService apply",request.who());
        return new Response(1200);
    }



    public record Response(Integer pay) {

    }

    public record Request(String company,String name) {

    }
}
